package org.dromara.tearoom.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.QueryGroup;
import org.dromara.tearoom.domain.TerOrder;

@Data
@AutoMapper(target = TerOrder.class, reverseConvertGenerate = false)
public class TerOderOpenIdBo {
    /**
     * 开放平台id
     */
    @NotNull(message = "openid不能为空", groups = { QueryGroup.class})
    private String openId;

    @NotNull(message = "订单状态不能为空", groups = { QueryGroup.class})
    private String orderStatus;
}
